/*通用样式*/
body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dd,input,textarea{
    margin:0;
    padding: 0;
}
body{
    font-family: Arial,"微软雅黑";
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
img,input{
    border: none;
}
.inner{
    width: 100%;
    margin:0 auto;
}
/*页头*/
.head{
    width: 100%;
    position: relative;
}
.head .h_bot{
    width: 1100px;
    height: 120px;
    background-color: rgba(44,45,46,.5);
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -550px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 10;
}
.head .h_bot .bot_z{
    padding: 13px 10px 0 55px;
    color: #fff;
    float: left;

}
.head .h_bot>p{
    color: #fff;
    font-size: 70px;
    font-family: "华文细黑";
    float: left;
    border-left: 1px solid #fff;
    padding-left: 10px;
    margin-top: 10px;
}
.head .h_bot .bot_y{
    float: right;
    padding-top: 15px;
    padding-right: 40px;
}
.head .h_bot .bot_y .y1{
    float: left;
    height: 80px;
    text-align: center;
    padding-left: 40px;
}
.head .h_bot .bot_y .y1 a{
    font-size: 20px;
    color: white;
    line-height: 85px;
    cursor: pointer;
    display: block;
    padding: 0 25px;
    border: 5px solid rgba(255,255,255,.5);
}
.head .h_bot .bot_y .y1 a:hover{
    border: 5px solid rgba(255,0,0,.3);
}
/*main*/
.main{
    width: 1100px;
    margin:0 auto;
    box-shadow: 0 0 60px #d0d0d0;
}
.main .logo{
    float: left;
    padding: 5px 30px 0 220px;
}
.main .logo img{
    height: 50px;
}
.main .nav{
    width: 1100px;
    height: 60px;
    position: relative;

}
.main .nav ul{}
.main .nav li{
    float: left;
    text-align: center;
    position: relative;
    z-index: 100;
}
.main .nav li:nth-child(2):hover .bg_nav{
    background-color: blue;
}
.main .nav li a{
    color: #0f0f0f;
    line-height: 60px;
    font-size: 16px;
    padding: 0 30px;
    margin: 0 20px;
    display: block;
    cursor: pointer;
    border-radius: 10px;
    transition: .5s;
}

.main .nav li .act{
    border-radius: 10px;
}
.main .nav .bg_nav{
    width:92px;
    height:60px;
    background-color: #fb102f;
    position: absolute;
    top:0;
    left:364px;
    transition: 1s;
}
.banner {
    height: 360px;
    position: relative;
    background: url("../images/1.jpg");
    color: #fff;
    padding: 20px 20px;
}
.banner .banner_left{width: 400px;text-align: center;padding-left: 100px;padding-top: 50px;float: left}
.banner .banner_left h3{font-size: 40px;padding-top: 10px}
.banner .banner_left span{margin-bottom: 25px;display: block}
.banner img{  width: 100px;  }
.banner .banner_right{width: 300px;  height: 300px;  float: left;padding-top: 50px;padding-left: 100px;}
.banner .banner_tb{
    width: 100px;
    height: 50px;
    background-color: #ff0f2f;
    position: absolute;
    bottom: -20px;
    left: 495px;
    text-align: center;
    border-radius: 5px;
}
.banner .banner_tb p{
    color: #fff;
    line-height: 50px;
    font-size: 16px;
}
.text{
    text-align: center;
    padding-top: 60px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 40px;
}
.text h2{
    font-size: 48px;
    line-height: 50px;
}
.text h4{
    line-height: 40px;
}
.text p{
    line-height: 25px;
    font-size: 20px;
    font-weight: 700;
}
.b_nav{
    text-align: center;
}
.b_nav h2{
    line-height: 60px;
    font-size: 25px;
}
.b_nav .list{
    width: 220px;
    height: 165px;
    float: left;
    margin-top:40px;
}
.b_nav .active{
    width: 220px;
    height: 165px;
    background-color: #f9dd89;
    transition: 1s;
}
.b_nav button{
    width: 20px;
    height: 20px;
    background-color: #000;
    border: none;
    border-radius: 3px;
    color: #fff;
}
.b_nav .an{
    padding: 20px 0;
    clear: both;
    border-bottom: 1px solid #ccc;

}
.b_nav button:hover{
    background-color: #f9efaa;
    color: #f60;
    cursor: pointer;
}
.jn{
    height: 303px;
    padding-left: 200px;
    padding-top: 30px;
}
.jn li{
    height: 35px;
}
.jn p{
    color: white;
    width: 60px;
    padding-left: 10px;
    float: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    background-color: rgba(255,0,0,.6);
}
.jn .ts{
    width: 200px;
    height: 30px;
    background-color: #cccccc;
    float: left;
    -moz-transition:background .5s linear ,width .5s cubic-bezier(0,.3,0,.5) .5s;
    -webkit-transition:background .5s linear ,width .5s cubic-bezier(0,.3,0,.5) .5s;
}
.jn .ts:hover{
    width: 400px;
    background-color:rgba(255,0,0,.5);
}
.jn .cs:hover{
    width: 350px;
    background-color:rgba(255,0,0,.6);
}
.jn .js:hover{
    width: 500px;
    background-color:rgba(255,0,0,.7);
}
.jn .jq:hover{
    width: 300px;
    background-color:rgba(255,0,0,.3);
}
.jn .ps:hover{
    width: 550px;
    background-color:rgba(255,0,0,.6);
}
.jn .ai:hover{
    width: 300px;
    background-color:rgba(255,0,0,.3);
}

.jn h3{
    padding-left: 250px;
    font-size: 25px;
    line-height: 51px;
}
/*作品集*/
.sample{
    height: 440px;
    text-align: center;
    border-top: 1px solid #ccc;
    position: relative;
}
.sample .kang{
    display: block;
}
.sample .kang img{
    box-shadow: 0 3px 8px #ccc;
}
.sample h2{
    padding-top: 20px;
    font-size: 30px;
    line-height: 50px;
}
/*footer*/
.footer{
    height: 250px;
    background-color: #424242;
    text-align: center;
}
.footer h2{
    line-height: 48px;
    color: #ededed;
    padding-top: 32px;
    font-size: 30px;
}
.footer p a{
    color: #8b8b8b;
    font-size: 14px;
    line-height: 31px;
    padding: 0 13px;
}
.footer form{
    padding-top: 25px;
}
.footer .txt{
    width: 310px;
    height: 30px;
    background-color: #c7c7c7;
    border: 3px solid #dcdcdc;
    border-radius: 3px;
    box-shadow: 0 0 6px #151515;
    vertical-align: top;
    margin: 0 18px 0 0;
    padding-left: 20px;
    color: #414141;
}
.footer .sub{
    width: 175px;
    height: 36px;
    background: none;
    border: 3px solid #5b5b5b;
    vertical-align: top;
    cursor: pointer;
    color: #8b8b8b;
}
.footer .sub:hover{
    box-shadow: 0 0 6px #151515;
}
.bottom{
    height: 50px;
    background-color: #333;
    text-align: center;
}
.bottom p{
    line-height: 50px;
    color:#5b5b5b ;
}
.weixin{
    width: 100px;
    height: 100px;
    background-image: url("../images/weixin.jpg");
    background-repeat: no-repeat;
    position: absolute;
    top: 579px;
    right: 287px;
    text-align: center;
    border: 3px solid #ccc;
    z-index: 10;
    transition: 2s;
}